<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
	<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<%-- <%@include file="/common/common.jspf"%> --%>
<script type="text/javascript" src="${pageContext.request.contextPath}/js/forming/inspection/assembly_add.js">
<script type="text/javascript">
$(function(){
	$("#machine").click("click", function() {
		$(".shou").prop('type','text');
	});
})
</script>
<style type="text/css">
.col-sm-3 {
	width: 15%;
	float: left;
}

.col-sm-9 {
	width: 85%;
	float: left;
}

label[class^="btn btn-default"] {
	margin-top: -4px;
}
</style>
</head>
<body>
	<div class="l_err" style="width: 100%; margin-top: 2px;"></div>

	<form id="form" name="form" class="form-horizontal" method="post"
		action="${pageContext.request.contextPath}/inspection/assembly_addEntity.shtml">
		<section class="panel panel-default">
		<div class="form-group">
		
				<label class="col-sm-3 control-label">机台号：</label>
					<div class="col-sm-9">
						<input type="text" class="form-control checkabh" 
							placeholder="请输入机台号" name="pretendCheckFormMap.Machine_Number" id="Machine_Number" />
					</div>
				</div> 
				<div class="line line-dashed line-lg pull-in"></div>
				
				<div class="form-group">
					<label class="col-sm-3 control-label">模具号：</label>
					<div class="col-sm-9">
						<input type="text" class="form-control checkabh" 
							placeholder="请输入模具号" name="pretendCheckFormMap.Mold_Number" id="Mold_Number"/>
						</div>
				</div> 
				<div class="line line-dashed line-lg pull-in"></div>
			 <div class="form-group">
					<label class="col-sm-3 control-label">点检项目：</label>
					<div class="col-sm-9">
						<input type="text" class="form-control checkabh" value="${molding.id}"
						readonly	placeholder="请输入点检项目" name="pretendCheckFormMap.Check_No" />
							<button type="button" class="btn btn-success btn-s-xs" id="machine">查看</button>
					</div>
					<input class="shou" readonly type="hidden" class="form-control checkabh" value="${molding.Check_Inspection}"/>
					<c:forEach var="key" items="${checkContent}">
					<input class="shou" readonly type="hidden" class="form-control checkabh" value="${key.Check_Content}"/>
					</c:forEach>
					
				</div> 
				<div class="line line-dashed line-lg pull-in"></div>
				
				<div class="form-group">
					<label class="col-sm-3 control-label">检查结果：</label>
					<div class="col-sm-9">
						<select style="width: 30%;" class="form-control" id="client" name="pretendCheckFormMap.Inspection_Result">
								<option value="1">合格</option>	
								<option value="0">不合格</option>							
						</select>
						</div>
				</div> 
				<div class="line line-dashed line-lg pull-in"></div>
				
				<div class="form-group">
					<label class="col-sm-3 control-label">不合格原因分析：</label>
					<div class="col-sm-9">
						<input type="text" class="form-control checkabh"
							placeholder="请输入不合格原因分析" name="pretendCheckFormMap.Nonconformity_cause" />
						</div>
				</div> 
				<div class="line line-dashed line-lg pull-in"></div>
				
				<div class="form-group">
					<label class="col-sm-3 control-label">不合格处理结果：</label>
					<div class="col-sm-9">
						<input type="text" class="form-control checkabh"
							placeholder="请输入不合格处理结果" name="pretendCheckFormMap.Unqualified_result" />
						</div>
				</div> 
				<div class="line line-dashed line-lg pull-in"></div>
				
				
				<div class="form-group">
					<label class="col-sm-3 control-label">操作行为：</label>
					<div class="col-sm-9">
						<select style="width: 30%;" class="form-control" id="client" name="pretendCheckFormMap.Operation">
								<option value="1" >装模</option>	
								<option value="2" >拆模</option>							
						</select>
					</div>
				</div> 
				<div class="line line-dashed line-lg pull-in"></div>
		<footer class="panel-footer text-right bg-light lter">
		<button type="submit" class="btn btn-success btn-s-xs">提交</button>
		</footer>
		
		</section>
	</form>
	
</body>
</html>